import { Service, ServiceName } from '@/network/http.js'

const api = {
    queryDryLabour (params) {
        return Service.get(
            `/${ServiceName}/api/external/drylabour/querydrylabour?${params}`
        )
    },
    saveDryLabour (params) {
        return Service.post(
            `/${ServiceName}/api/external/drylabour/savedrylabour`,params
        )
    },
    searchData (params) {
        return Service.get(
            `/${ServiceName}/api/external/drylabour/searchdata?${params}`
        )
    },
    getDryLabourById (params) {
        return Service.get(
            `/${ServiceName}/api/external/drylabour/getdrylabourbyid?${params}`
        )
    },
    audit (params) {
        return Service.put(
            `/${ServiceName}/api/external/drylabour/audit`,params
        )
    }
}

export default api
